let imageBaseUrl = "https://file.fulewanjia.com/fulewanjia/profile/appImages"
// https://file.fulewanjia.com/fulewanjia/profile/appImages5
// 应用全局配置
module.exports = {
	imageBaseUrl,
	baseUrl: process.env.NODE_ENV === 'development' ? 'http://192.168.0.151:8088' :
		'https://api.fulewanjia.com/fulewanjia',
	imagePrefix: process.env.NODE_ENV === 'development' ? 'http://192.168.0.151:8088' :
		'https://file.fulewanjia.com/fulewanjia',
	chatWs: process.env.NODE_ENV === 'development' ? 'ws://192.168.0.151:2222/chat' :
		'wss://chat.fulewanjia.com/chat',
	// 全局socket
	appWs: process.env.NODE_ENV === 'development' ? 'ws://192.168.0.151:3333/over' :
		'wss://chat.fulewanjia.com/over',
	// #ifdef MP-WEIXIN
	baseUrl: 'https://api.fulewanjia.com/fulewanjia',
	imagePrefix: "https://file.fulewanjia.com/fulewanjia",
	chatWs: 'wss://chat.fulewanjia.com/chat',
	appWs: 'wss://chat.fulewanjia.com/over',
	// baseUrl: 'http://192.168.0.151:8088',
	// #endif
	// baseUrl: 'http://192.168.1.8:8091',
	// baseUrl: 'http://api-front-demo.yuexiangyuan.xyz',
	baseUrl: 'https://api.fulewanjia.com/fulewanjia',
	imagePrefix: "https://file.fulewanjia.com/fulewanjia",
	chatWs: 'wss://chat.fulewanjia.com/chat',
	appWs: 'wss://chat.fulewanjia.com/over',
	appConfig: {
		loginIcon: imageBaseUrl + "/logo@2x.png", //登录页图标
		loginBg: imageBaseUrl + "/login-bg@2x.png", //登录背景
		indexTitle: imageBaseUrl + '/index-title@2x.png', //首页标题
		noticeImg: imageBaseUrl + '/icon_tongzhigonggao.png',
		//（0待支付 1待发货 2待收货 3已完成 4已取消）
		orderStatusList: [{
				name: "全部",
				status: null,
				index: 0
			},
			{
				name: "待付款",
				icon: "icon_daiqianggou@2x.png",
				status: 0,
				index: 1,
				orderNum: 0
			},
			{
				name: "待确认",
				status: 5,
				index: 6,
			},
			{
				name: "待发货",
				icon: "icon_daifukuan@2x.png",
				status: 1,
				index: 2,
				orderNum: 0
			},
			{
				name: "待收货",
				icon: "icon_daiqueren@2x.png",
				status: 2,
				index: 3,
				orderNum: 0
			},
			{
				name: "已取消",
				status: 4,
				index: 4
			},
			{
				name: "已完成",
				icon: "icon_zhifushibai@2x.png",
				status: 3,
				index: 5,
				orderNum: 0
			},
			{
				name: "待评价",
				status: 6,
				index: 5,
				orderNum: 0
			},
		],
		dikouList: [{
				name: "全部",
				status: null,
				index: 0
			},
			{
				name: "待付款",
				icon: "daifuukuan@2x.png",
				status: 0,
				index: 1,
				orderNum: 0
			},
			{
				name: "待核销",
				icon: "daishiyong@2x.png",
				status: 1,
				index: 2,
				orderNum: 0
			},
			{
				name: "已完成",
				icon: "yiwancheng@2x.png",
				status: 3,
				index: 3,
				orderNum: 0
			},
			{
				name: "已取消",
				icon: "yiquxiao@2x.png",
				status: 4,
				index: 4,
				orderNum: 0
			},
		],
	},

	// 应用信息
	appInfo: {
		// 应用名称
		name: "富乐万家",
		// 版本
		version: 1,
		// 政策协议
		agreements: [{
				title: "新手指南",
				url: "https://hide.fulewanjia.com/#/"
			},
			{
				title: "关于我们",
				url: "https://hide.fulewanjia.com/#/"
			},
			{
				title: "问题反馈",
				url: "https://hide.fulewanjia.com/#/"
			},
			{
				title: "入驻协议",
				url: "https://hide.fulewanjia.com/#/"
			},
			{
				title: "隐私协议",
				url: "https://hide.fulewanjia.com/#/"
			},
			{
				title: "用户协议",
				url: "https://hide.fulewanjia.com/#/"
			},

		]
	}
}